package com.tuniu.agents.command.action;

import com.tuniu.agents.command.ActionType;
import com.tuniu.agents.command.CommandAction;
import reactor.core.publisher.Flux;

/**
 * Abstract class representing an action to call an agent.
 * This class implements CommandAction with a Flux<String> return type,
 * providing functionality to interact with agents in a reactive manner.
 */
public abstract class CallAgentAction implements CommandAction<Flux<String>> {

    /**
     * Parameter key for specifying the agent ID
     */
    public static final String PARAM_AGENT_ID = "agentId";

    @Override
    public ActionType getActionType() {
        return ActionType.CALL_AGENT;
    }

}
